import React, {Component} from "react";
import ReSizeComponent from "./ReSizeComponent";

export default class SecondComponentEx extends ReSizeComponent {
    render() {
        return (
            <div className="" style={{fontSize:this.state.innerWidth/800*28}}>
                第二个组件（通过继承）
            </div>
        );
    }
}
